/*
 * @Author: yanyqf
 * @Date: 2020-04-09 11:18:50
 * @LastEditTime: 2020-04-14 16:17:56
 * @Description: file content
 */
const btnState = {
    ADD: 'add',
    EDIT: 'edit',
    BROWSE: 'browse'
}

 export const btnTpl = {
     [btnState.ADD]:[
         {
            key: 'save',
            name: "保存",
            colors: "primary"
         },
         {
            key: 'cancel',
            name: "取消"
        }
     ],
     [btnState.EDIT]:[
         {
           key: 'editSave',
           name: "保存",
           colors: "primary"
        },
        {
            key: 'editCancel',
           name: "取消"
       }
     ],
     [btnState.BROWSE]:[
         {
            key: 'refresh',
           name: "刷新"
       }
     ]
 }